import request from '@/utils/request'

export function getUserFake(query) {
  return request({
    url: '/xxxx/user_fake/index',
    method: 'get',
    params: query
  })
}

export function addUserFake(data) {
  return request({
    url: '/xxxx/user_fake/add',
    method: 'post',
    data: {
      row: data
    }
  })
}

export function updateUserFake(data, ids) {
  return request({
    url: '/xxxx/user_fake/edit/ids/' + ids,
    method: 'post',
    data: {
      row: data
    }
  })
}

export function delUserFake(data, ids) {
  return request({
    url: '/xxxx/user_fake/del',
    method: 'post',
    data: data
  })
}
